package com.hqyj.account.entity;


import com.hqyj.commom.entity.AbstractEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "test_role_resource")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RoleResource extends AbstractEntity {

  @Column(name = "resource_id",insertable = false,updatable = false)
  private long resourceId;
  @Column(name = "role_id",insertable = false,updatable = false)
  private long roleId;


}
